using System.Diagnostics;

namespace Mbs.ComponentModel
{
    [DebuggerDisplay("Id={Id}")]
    public abstract class UndoAction : DisposableObject, IUndoAction
    {
        public abstract void Undo();
        public abstract void Redo();


        public string Name { get; set; }

        public override string ToString()
        {
            return Name;
        }
    }
}
